<!--我的收藏和观看记录模板-->
<notempty name="data">
    <volist name="data" id="v">
        <li class="box padd-lr10 padd-tb10 mar-b20 comment-root clear relative" data-p="{$p}">
            <eq name="v.type" value="1">
                <!-- 比赛 -->
                <div class="match-tips"></div>
                <a class="fl" href="{:U('Match/detail?id='.$v['id'])}" title="{$v.title}">
                    <div class="cover live-video-cover response-cover js-video-play cover-videos-img fl">
                        <img class="lazy-img" data-src="{$v.thumb}" alt="{$v.title}">
                    </div>
                </a>
                <div class="about-title about-video-title fr">
                    <div class="clear v-align clear">
                        <div class="recommend-img avatar-left ">
                            <a href="{:U('Others/index?uid='.$v['uid'])}" title="{$v.game.name}"><div class="self-detail-avartor box-radius mar-r10 fl format-cover avartor-bg">
                                <img class="lazy-img" data-src="{$v.game.pic|default='__ROOT__/Public/Home/images/avatar.jpg'}" alt="{$v.game.name}">
                            </div></a>
                            <div class="pop-video-le">
                                <div class="in-block pop-user-vcan pop-user-text pop-user-vcan-small">
                                    <h2 class="mar-b10 mar-l10 ellipsis">{$v.game.name}</h2>
                                    <ul class="float-ul ul-col-2 v-align ">
                                        <li>
                                            <i class="icon icon-time "></i>
                                            <span>
                                            <notempty name="showMatch">
                                                {$v.watch_time}
                                            <else/>
                                                {$v.favour_time}
                                            </notempty>
                                            </span>
                                        </li>
                                        <li> <i class="icon icon-view "></i><span>{$v.statis.play}</span></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="about-text">
                        <p class="padd-tb10 ellipsis l-align">{$v.detail}</p>
                    </div>
                </div>
                <else />
                <!-- 视频 -->
                <a class="js-pop-video fl" data-href="{$v.id}" data-action="{:U('Video/play')}" title="{$v.title}">
                    <div class="cover live-video-cover response-cover js-video-play cover-videos-img fl">
                        <img class="lazy-img" data-src="{$v.thumb}" alt="{$v.title}">
                        <video preload="none" muted loop src="{$v.pre_uri}" style="display:none"></video>
                    </div>
                </a>
                <div class="about-title about-video-title fr">
                    <div class="clear v-align clear">
                        <div class="recommend-img avatar-left ">
                            <a href="{:U('Others/index?uid='.$v['uid'])}" title="{$v.user.nickname}"><div class="self-detail-avartor box-radius mar-r10 fl format-cover avartor-bg">
                                <img class="lazy-img" data-src="{$v.user.avatar|default='__ROOT__/Public/Home/images/avatar.jpg'}" alt="{$v.user.nickname}">
                            </div></a>
                            <div class="pop-video-le">
                                <div class="in-block pop-user-vcan pop-user-text pop-user-vcan-small">
                                    <h2 class="mar-b10 mar-l10 ellipsis">{$v.user.nickname}</h2>
                                    <ul class="float-ul ul-col-2 v-align ">
                                        <li>
                                            <i class="icon icon-time "></i>
                                            <span>
                                        <notempty name="showMatch">
                                            {$v.watch_time}
                                        <else/>
                                            {$v.favour_time}
                                        </notempty>
                                        </span>
                                        </li>
                                        <li> <i class="icon icon-view "></i><span>{$v.statis.play}</span></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="about-text">
                        <p class="padd-tb10 ellipsis l-align">{$v.title}</p>
                    </div>
                </div>
            </eq>
        </li>
    </volist>
    <else/>
    <li class="box padd-lr10 padd-tb10">
        <div class=" padd-lr10 padd-tb comment-root clear">
            <div class="clear  smile-con">
                <div class="smile fl"></div>
                <div class="about-title fl">
                    <div class="about-text mar-t20">
                        <h3 class="fs-20 padd-t10">哎呀 没有信息</h3>
                        <div class="self-detail_text fs-14 padd-tb10 about-detail"><span>你还没有收藏<eq name="type" value="match">赛事<else/>视频</eq>哦</span></div>
                    </div>
                </div>
            </div>
        </div>
    </li>
</notempty>
